#version 420


layout(location = 0) in vec3 vertexPosition_modelspace; // position of vertex

uniform mat4 MVP; // space matrix

void main() 
{            
   	// count vertex position acoording to model view matrix
	// set vertex to gl_Position
	vec4 v = vec4(vertexPosition_modelspace,1);

	gl_Position = MVP * v;
	//----------------------------------------------------- 
}
